package com.ndp.fb.model.fbagent.param.oauth;


import com.ndp.fb.annotation.FBParam;
import com.ndp.fb.model.fbagent.param.FacebookParam;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by Mikey.zhaopeng on 2014/11/1 14:02.
 * Email mikey.zhao@ndpmedia.com
 */
@Setter
@Getter
@NoArgsConstructor
public class OauthParam extends FacebookParam {
    @FBParam("locale")
    private String locale;

    @FBParam("client_id")
    private String clientId;

    @FBParam("client_secret")
    private String clientSecret;

    @FBParam("code")
    private String code;

    @FBParam("redirect_uri")
    private String redirectUri;


    public OauthParam(String locale, String clientId, String clientSecret, String code, String redirectUri) {
        this.locale = locale;
        this.clientId = clientId;
        this.clientSecret = clientSecret;
        this.code = code;
        this.redirectUri = redirectUri;
    }

}
